#include <stdio.h>

int main()
{
  int x = -1;
  do
  {
    x = x * x;
    printf("%d\n", x);
  } while (!x);
  return 0;
}